﻿<%@ Page Language="F#" AutoEventWireup="true"  CodeFile="Parser.aspx.fs" Inherits="Demos.ParserWeb.Parser" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
  <title>Parser</title>
  <link rel="stylesheet" type="text/css" href="parser.css" />
</head>
<body>
  <form runat="server">
  <div>

    <h1>Web Symbolic Manipulation</h1>
    <fwc:TextBox columns="50" id="txtInput" runat="server" />
    <fwc:Label id="lblMsg" runat="server" />
    
    <table>
    <tr>
      <td style="padding:2px;"><strong>Formated:</strong></td>
      <td style="padding:2px;"><strong>Simplified:</strong></td>
    </tr>
    <tr>
    <td valign="top" style="padding:4px;">
      <div class="equ">
        <fwc:Label id="lblFormated" runat="server" />
      </div>
    </td><td valign="top" style="padding:4px;">
      <div class="equ">
        <fwc:Label id="lblEvaluated" runat="server" />
      </div>
    </td>
    </tr></table>
    <strong>Differentiation:</strong>
    <br />
    Variables: <fwc:Label id="lblDiffVars" runat="server" /><br />
    Differentiate using: <fwc:TextBox columns="5" id="txtDiff" runat="server" />
    
    <div class="equ">
      <fwc:Label id="lblDiff" runat="server" />
    </div>
    <strong>Graph:</strong><br />
    Enter variable name: <fwc:TextBox columns="5" id="txtPlotVar" runat="server" /><br />
    Range from: <fwc:TextBox columns="5" id="txtPlotFrom" runat="server" /> to: <fwc:TextBox columns="5" id="txtPlotTo" runat="server" />
    <br />
    <div style="padding:4px;">
      <fwc:Image runat="server" id="imgPlot" />
    </div>
    <fwc:Label id="lblPlotMsg" runat="server" />
    
    
  </div>
  </form>
</body>
</html>
